package com.findroader.blog.dao;

import java.util.List;
import java.util.Map;

import com.findroader.blog.dto.HomeArticleDTO;
import com.findroader.blog.dto.QueryParamDTO;
import com.findroader.blog.model.ArticleBean;
import com.findroader.blog.page.Page;

public interface ArticleDao {

	
	ArticleBean getArticle(Integer id);
	
	List<ArticleBean> queryArticleList(QueryParamDTO queryParam);
    int queryArticleCount();
    
    List<HomeArticleDTO> queryArticleCommentsCount();
	
	int save(ArticleBean article);
	
	int update(ArticleBean article);
	
	int delete(Integer id);
	
	
}
